#!/usr/bin/env bash

# 深圳市摩天射频技术有限公司 无库存产品关联仓库 修复
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/fixProductDataWarehouse -X POST -H 'Content-type: application/json' -d '{"corpid":"dingffcb51eececef150","corpidList":["dingffcb51eececef150"],"userId":"manager7786","platform":"web","frontDev":"1","xbbCode":"123456","businessType":2401}'

# 烟台维艾思服装有限公司 库存修复
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/reCalStock -X POST -H 'Content-type: application/json' -d '{"corpid":"ding23fd55dbcbf0094135c2f4657eb6378f","corpidList":["ding23fd55dbcbf0094135c2f4657eb6378f"],"userId":"0851661416-176533683","platform":"web","frontDev":"1","xbbCode":"123456","businessType":2401}'

# 君学 联系人团队修复
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/fixData/fixContactUsers -X POST -H 'Content-type: application/json' -d '{"corpid":"ding9fea530fc34cd91a","corpidList":["ding9fea530fc34cd91a"],"userId":"1","platform":"web","frontDev":"1","xbbCode":123456}'

# 工单协同人放出
curl http://pt2jobs.xbongbong.com.cn/pro/v1/esDemo/changeWorkOrderCouserIdShowType -X POST -H 'Content-type: application/json' -d '{"corpid":"ding9fea530fc34cd91a","userId":"1","platform":"web","frontDev":"1","xbbCode":123456}'

#图表中心 跟进记录 screenType 修复
curl http://s/pro/v1/script/field/initNewAll -X POST -H 'Content-type: application/json' -d '{"frontDev":"1","platform": "web","businessType":501,"attr":"text_12","fieldAttr":"screenType","xbbCode": "123456","operate": 1}'